home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club KidSoft Volume 3 #1
/
ClubKidsoft.iso
/
movies
/
clubroom.dir
/
00004_Script_Import Links
< prev
next >
Wrap
Text File
|
1995-02-06
|
869b
|
23 lines
on FinalImport
-- Utility handler that can be used as the last
-- stage in production, to bring all linked media
-- into the Director movie itself.
-- Here we assume we're hst doing graphics.
repeat with i =250 to the number of castmembers
if the fileName of cast i <> "" then
if the castType of cast i = #bitmap then
set myName = the name of cast i
set myScript = the scriptText of cast i
set myReg = the regPoint of cast i
set myPal = the palette of cast i
importFileInto Cast i, the fileName of cast i
set the name of cast i = myName
set the scriptText of cast i = myScript
set the regPoint of cast i = myReg
set the palette of cast i = myPal
put "imported cast number " & i && myName
end if
end if
end repeat
end FilnalImport